
package com.dhemery.mack.actions;

import java.util.ArrayList;
import java.util.List;

import org.eclipse.jface.action.IAction;

//TODO Test this class
public class ActionList {
	private final String name;
	private final List<IAction> actions = new ArrayList<IAction>();

	public ActionList(String name) {
		this.name = name;
	}
	
	public void add(IAction action) {
		actions.add(action);
	}
	
	public List<IAction> getActions() {
		return actions;
	}
	
	public String getName() {
		return name;
	}
}